.gd-select {
    position: relative;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    .gd-select-title {
        padding: 6px 8px;
        display: flex;
        align-items: center;
        .label {
            color: #606266;
            font-size: 14px;
            line-height: 20px;
            flex: 1;
        }
        .iconfont {
            font-size: 12px;
            transition: transform .3s;
            &.is-reverse {
                transform: rotate(-180deg);
            }
        }
    }
    .gd-select-wrap {
        padding-top: 6px;
        padding-bottom: 6px;
        border: 1px solid #DCDFE6;
        border-radius: 4px;
        overflow: auto;
        position: absolute;
        display: none;
        max-height: 150px;
        left: -1px;
        right: -1px;
        font-size: 14px;
        line-height: 20px;
        z-index: 302;
        background-color: #FFF;
        top: 100%;
        li {
            margin-top: 16px;
            padding-left: 8px;
            padding-right: 8px;
            &:first-child {
                margin-top: 0;
            }
            &:hover {
                background-color: #EEE;
            }
            &.is-active {
                color: #1890ff;
            }
        }
    }
}
.gd-btn {
    cursor: pointer;
    outline: none;
    border-radius: 4px;
    padding: 11px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: none;
    &.btn-info {
        color: #FFF;
        background-color: #1890ff;
    }
    &:hover {
        opacity: 0.7;
    }
}
.gd-btn-select {
    margin-top: 16px;
    .label {
        font-size: 14px;
        font-weight: bold;
        line-height: 20px;
        color: #303133;
    }
    .btn-select {
        margin-top: 8px;
        display: grid;
        grid-template-columns: repeat(4, 72px);
        grid-gap: 8px;
        .btn-select-item {
            color: #909399;
            font-size: 12px;
            line-height: 20px;
            text-align: center;
            padding-top: 4px;
            padding-bottom: 4px;
            background-color: #F5F7FA;
            border-radius: 4px;
            &.is-active {
                color: #FFF;
                background-color: #1890FF;
            }
        }
    }
}
.gd-checkbox {
    display: flex;
    align-items: center;
    input {
        border: 1px solid #D9D9D9;
        border-radius: 2px;
    }
    .label {
        font-size: 14px;
        line-height: 20px;
        color: #303133;
        font-weight: bold;
        margin-left: 8px;
        margin-right: 6px;
    }
}
.gd-input {
    &[type='text'], &[type='password'] {
        width: 100%;
        background-color: #fff;
        background-image: none;
        border-radius: 4px;
        border: 1px solid #dcdfe6;
        box-sizing: border-box;
        color: #606266;
        display: inline-block;
        font-size: inherit;
        height: 20px;
        line-height: 20px;
        outline: 0;
        padding: 0 15px;
        -webkit-appearance:none;
        -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        &:hover {
            border-color: #c0c4cc;
        }
        &:focus {
            border-color: #1890ff;
            outline: 0;
        }
        &::-webkit-input-placeholder {
            color: #C0C4CC;
        }
    }
}
.gd-input-group {
    position: relative;
    .gd-input {
        padding-right: 75px;
    }
    .gd-input__append {
        width: 75px;
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        .gd-btn {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }
    }
}
.gd-popover {
    position: relative;
    .gd-popover__inner {
        display: none;
        position: absolute;
        right: calc(100% + 12px);
        font-size: 14px;
        line-height: 20px;
        color: #FFF;
        background-color: #303133;
        border-radius: 4px;
        padding: 9px 12px;
        white-space: nowrap;
        &.gd-popover-right {
            &::after {
                content: "";
                width: 0;
                height: 0;
                position: absolute;
                left: 100%;
                top: 50%;
                transform: translate(0, -50%);
                border-top: 5px solid transparent;
                border-bottom: 5px solid transparent;
                border-left: 5px solid #303133;
            }
        }
    }
}
.gd-collapse {
    .gd-collapse-item {
        border-radius: 6px;
        border: 1px solid #EBEEF5;
        &.is-collapse {
            .gd-collapse-item__wrap {
                display: block;
            }
            .gd-collapse-item__title {
                border-bottom: 1px solid #EBEEF5;
            }
        }
        .gd-collapse-item__title {
            padding: 24px 32px;
            display: flex;
            align-items: center;
            cursor: pointer;
            .gd-collapse-item__label {
                flex: 1;
                text-align: left;
            }
        }
        .gd-collapse-item__wrap {
            overflow: hidden;
            display: none;
            padding: 24px 32px;
            text-align: left;
            will-change: height;
            &.gd-collapse-transition {
                transition: height .3s, padding-top .3s, padding-bottom .3s;
            }
        }
    }
}